package cn.shuangliang.contract.model;

import java.util.Date;

public class StockItem {
    private Long id;

    private Long pid;

    private Double pnum;

    private Boolean isin;

    private Date ptime;

    private String reason;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Double getPnum() {
        return pnum;
    }

    public void setPnum(Double pnum) {
        this.pnum = pnum;
    }

    public Boolean getIsin() {
        return isin;
    }

    public void setIsin(Boolean isin) {
        this.isin = isin;
    }

    public Date getPtime() {
        return ptime;
    }

    public void setPtime(Date ptime) {
        this.ptime = ptime;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }
}